<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>逻辑推理讲解</title>
    <style>
        body {
            font-family: 'Microsoft YaHei', Arial, sans-serif;
            margin: 0;
            padding: 20px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
        }
        .container {
            max-width: 800px;
            margin: 0 auto;
            background: white;
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        }
        .title {
            text-align: center;
            color: #333;
            margin-bottom: 30px;
            font-size: 28px;
            font-weight: bold;
        }
        .reasoning-tree {
            background: #f8f9fa;
            padding: 20px;
            margin: 20px 0;
            border-radius: 10px;
            border-left: 5px solid #007bff;
        }
        .node {
            background: white;
            padding: 15px;
            margin: 10px 0;
            border-radius: 8px;
            border: 2px solid #e3f2fd;
        }
        .node-title {
            font-weight: bold;
            color: #007bff;
            margin-bottom: 10px;
        }
        .arrow {
            text-align: center;
            font-size: 20px;
            color: #007bff;
            margin: 10px 0;
        }
        .explanation {
            font-size: 16px;
            line-height: 1.6;
            color: #555;
            margin: 20px 0;
        }
        .step {
            background: #e3f2fd;
            padding: 15px;
            margin: 10px 0;
            border-radius: 8px;
        }
    </style>
</head>
<body>
    <div class="container">
        <h1 class="title">逻辑推理讲解</h1>
        
        <div class="explanation">{{.ExplanationText}}</div>

        <div class="reasoning-tree">
            <h3>🌳 逻辑推理树</h3>
            <div class="node">
                <div class="node-title">目标问题</div>
                <div>题目要求我们解决什么问题？</div>
            </div>
            <div class="arrow">↓</div>
            <div class="node">
                <div class="node-title">关键信息</div>
                <div>题目中给出了哪些条件？</div>
            </div>
            <div class="arrow">↓</div>
            <div class="node">
                <div class="node-title">逻辑关系</div>
                <div>这些条件之间有什么关系？</div>
            </div>
            <div class="arrow">↓</div>
            <div class="node">
                <div class="node-title">解题步骤</div>
                <div>按照什么顺序进行计算？</div>
            </div>
        </div>

        <div class="step">
            <h4>💡 推理技巧</h4>
            <ul>
                <li>仔细阅读题目，找出所有已知条件</li>
                <li>分析条件之间的关系</li>
                <li>确定解题的先后顺序</li>
                <li>逐步推理，不要跳跃</li>
            </ul>
        </div>
    </div>
</body>
</html>